Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

VR World Atom Types

QuickTime VR defines a number of types of atoms that can be contained in a VR world. You can use these constants to specify a VR world atom type:

enum {
    kQTVRWorldHeaderAtomType                    = FOUR_CHAR_CODE('vrsc').
    kQTVRImagingParentAtomType                  = FOUR_CHAR_CODE('imgp').
    kQTVRPanoImagingAtomType                    = FOUR_CHAR_CODE('impn').
    kQTVRObjectImagingAtomType                  = FOUR_CHAR_CODE('imob'),
    kQTVRNodeParentAtomType                     = FOUR_CHAR_CODE('vrnp').
    kQTVRNodeIDAtomType                         = FOUR_CHAR_CODE('vrni').
    kQTVRNodeLocationAtomType                   = FOUR_CHAR_CODE('nloc'
};

 

Constant descriptions

kQTVRWorldHeaderAtomType
The atom is a VR world header atom. See "VR World Header Atom Structure" for the structure of this type of atom.
kQTVRImagingParentAtomType
The atom is an imaging parent atom, which contains one or more imaging atoms. An imaging atom describes the default imaging characteristics for one type of node in the scene. Currently, QuickTime VR supports two types of imaging atoms: object-imaging atoms and panorama-imaging atoms.
kQTVRPanoImagingAtomType
The atom is a panorama-imaging atom. See "Panorama-Imaging Atom Structure" , for the structure of this type of atom.
kQTVRObjectImagingAtomType
The atom is an object-imaging atom.
kQTVRObjectImagingAtomType
 
kQTVRNodeParentAtomType
The atom is a node parent atom, which contains one or more node ID atoms that specify the IDs of all the nodes in the scene.
kQTVRNodeIDAtomType
The atom is a node ID atom, which specifies the node ID of a single node in the scene. Each node ID atom has a single child, which is a node location atom.
kQTVRNodeLocationAtomType
The atom is a node location atom. See "Node Location Atom Structure" for the structure of this type of atom.

© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |